/**
 * 
 */
package com.ttt.radiostreammingservice;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * @author sebastian.carrozzo
 *
 */
public class SeekbarBroadcastReceiver extends BroadcastReceiver {
	private StreamingService service;

	private SeekbarBroadcastReceiver() {
		super();
	}

	SeekbarBroadcastReceiver(StreamingService service) {
		this();
		this.service = service;
	}
	
	/* (non-Javadoc)
	 * @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent)
	 */
	@Override
	public void onReceive(Context context, Intent intent) {
		service.updateSeekPos(intent);
	}
}